package com.example.shop_addres.mapper;

import com.example.shop_addres.entity.Members;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface MembersMapper {
    //新增账号
    public int insertMember(Members members);
    //根据用户名查询账号信息
    public Members getMembersByMobile(String mobile);
    //修改地址
    public int update(String mobile, String detailedAddress);
    //根据手机号删除地址
    public int delete(String mobile);
}
